//
//  YFJourneyModel.h
//  project
//
//  Created by yefei on 2019/4/15.
//  Copyright © 2019 健健. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface YFUserTagModel : NSObject

/**
 标签颜色
 */
@property (nonatomic, copy) NSString *color;
/**
 标签 id
 */
@property (nonatomic, copy) NSString *tagId;
/**
 标签名字
 */
@property (nonatomic, copy) NSString *name;

@end

@interface YFCityModel : NSObject

/**
 当前城市的 Original id
 */
@property (nonatomic, copy) NSString *cityOid;
/**
 城市 名称
 */
@property (nonatomic, copy) NSString *cityName;
/**
 城市 Level
 */
@property (nonatomic, copy) NSString *cityLevel;
/**
 城市简称
 */
@property (nonatomic, copy) NSString *cityShortName;
/**
 城市全称
 */
@property (nonatomic, copy) NSString *cityFullName;
/**
 城市英语名称
 */
@property (nonatomic, copy) NSString *cityEnglishName;
/**
 纬度
 */
@property (nonatomic, copy) NSString *cityLatitude;
/**
 经度
 */
@property (nonatomic, copy) NSString *cityLongitude;
@property (nonatomic, copy) NSString *cityAltitude;


@end

@interface YFTripModel: NSObject

/**
 用户 id
 */
@property (nonatomic, copy) NSString *userId;
/**
 行程 id
 */
@property (nonatomic, copy) NSString *journey_id;
/**
 行程标题
 */
@property (nonatomic, copy) NSString *title;
/**
 行程状态
 */
@property (nonatomic, copy) NSString *tripStatus;
/**
 出行方式
 */
@property (nonatomic, assign) NSInteger wayId;
/**
 创建时间
 */
@property (nonatomic, copy) NSString *createTime;

#pragma mark - 起点位置信息
/**
 起点位置名称
 */
@property (nonatomic, copy) NSString *startTxt;
/**
 开始日期
 */
@property (nonatomic, copy) NSString *beginDate;
/**
 开始时间
 */
@property (nonatomic, copy) NSString *beginTime;
/**
 起点位置城市id
 */
@property (nonatomic, copy) NSString *startCityId;
/**
 起点位置经度
 */
@property (nonatomic, copy) NSString *startLng;
/**
 起点位置经度
 */
@property (nonatomic, copy) NSString *startLat;


#pragma mark - 终点位置信息
/**
 终点位置名称
 */
@property (nonatomic, copy) NSString *dstTxt;
/**
 结束日期
 */
@property (nonatomic, copy) NSString *endDate;
/**
 结束时间
 */
@property (nonatomic, copy) NSString *endTime;
/**
 终点位置城市id
 */
@property (nonatomic, copy) NSString *dstCityId;
/**
 终点位置经度
 */
@property (nonatomic, copy) NSString *dstLng;
/**
 终点位置纬度
 */
@property (nonatomic, copy) NSString *dstLat;

#pragma mark - 自定义属性
/**
 行程日期
 */
@property (nonatomic, copy) NSString *journeyDate;

/**
 行程时间
 */
@property (nonatomic, copy) NSString *journeyTime;

/**
 出行方式图片
 */
@property (nonatomic, strong) UIImage *wayImage;

@end


@interface YFUserModel : NSObject
/**
 关注
 */
@property (nonatomic, assign) BOOL concern;
/**
 用户 id
 */
@property (nonatomic, copy) NSString *userId;
/**
 昵称
 */
@property (nonatomic, copy) NSString *nickName;
/**
 用户姓名
 */
@property (nonatomic, copy) NSString *userName;
/**
 性别
 */
@property (nonatomic, copy) NSString *sex;
/**
 年龄
 */
@property (nonatomic, copy) NSString *age;

/**
 背景图
 */
@property (nonatomic, copy) NSString *backgroundIcon;
@property (nonatomic, copy) NSString *intro;
/**
 头像 URLString
 */
@property (nonatomic, copy) NSString *avatar;
/**
 地址
 */
@property (nonatomic, copy) NSString *address;
/**
 表情
 */
@property (nonatomic, copy) NSString *emotion;
/**
 登记
 */
@property (nonatomic, copy) NSString *level;
/**
 VIP
 */
@property (nonatomic, copy) NSString *vip;
/**
 是否认证 （是否完成个人信息）
 */
@property (nonatomic, copy) NSString *auth;
/**
 容云 Token 用于聊天
 */
@property (nonatomic, copy) NSString *rongCloudToken;
/**
 个人信息是否全部完善
 */
@property (nonatomic, copy) NSString *dataAllComplete;
/**
 职业
 */
@property (nonatomic, copy) NSString *vocationName;
@property (nonatomic, copy) NSString *dataPartComplete;
/**
 城市
 */
@property (nonatomic, strong) YFCityModel *cityModel;

/**
 用户标签 Model 数组
 */
@property (nonatomic, strong) NSArray<YFUserTagModel *> *tagModels;

#pragma mark - 自定义 属性
/**
 性别 Image
 */
@property (nonatomic, strong) UIImage *sexImage;
/**
 头像 URL
 */
@property (nonatomic, strong) NSURL *avatarURL;
/**
 年龄字符串
 */
@property (nonatomic, copy) NSString *ageString;

/**
 用户标签数组
 */
@property (nonatomic, strong) NSArray <NSString *> *tagArray;

/**
 用户标签颜色数组
 */
@property (nonatomic, strong) NSArray <UIColor *> *tagColorArray;



@end



@class HJUserListModel;
@interface YFRecordModel : NSObject

@property (nonatomic, strong) YFTripModel *tripModel;

@property (nonatomic, strong) YFUserModel *userModel;

/**
 行程用户数组
 */
@property (nonatomic, strong) NSArray <HJUserListModel *> *userList;

@end

@interface YFJourneyModel : NSObject
/**
 行程数组
 */
@property (nonatomic, strong) NSArray <YFRecordModel *> *records;

/**
 总条数
 */
@property (nonatomic, copy) NSString *total;
/**
 每页条数
 */
@property (nonatomic, copy) NSString *size;
/**
 总页数
 */
@property (nonatomic, copy) NSString *pages;
/**
 当前页码
 */
@property (nonatomic, copy) NSString *current;
/**
 未知属性
 */
@property (nonatomic, copy) NSString *searchCount;

@end


@interface HJUserListTripModel : NSObject
@property (nonatomic, copy) NSString *update_time;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *like_status;
@property (nonatomic, copy) NSString *like_trip_id;
@property (nonatomic, copy) NSString *like_user_id;
@property (nonatomic, copy) NSString *status;

@property (nonatomic, copy) NSString *like_id;
@property (nonatomic, copy) NSString *create_time;
@property (nonatomic, copy) NSString *user_id;
@property (nonatomic, copy) NSString *tid;
@property (nonatomic, copy) NSString *trip_id;

@end




@class HJUserListTripModel,YFUserModel;
@interface HJUserListModel : NSObject
@property (nonatomic, strong) HJUserListTripModel * trip;
@property (nonatomic, strong) YFUserModel *user;
@end
